const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 27,
        lesseeCode: "0001",
        rate: 7.1,
        ratetime: "2019-01-11",
        sourceCode: "CNY",
        status: "1",
        targetCode: "USD",
        creatTime: "2019-01-11 21:23:20",
        creator: "范冰冰",
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/exchangeRate/query': mockQuery,
  'POST /api/exchangeRate/create': mockCreate,
  'POST /api/exchangeRate/update': mockUpdate,
  'POST /api/exchangeRate/remove': mockRemove,
};
